package com.terrynoya.fight.system.camera
{
	import com.terrynoya.geom.MVector2D;
	
	import flash.display.DisplayObject;

	public class MCameraItem implements ICameraItem
	{
		private var _position:MVector2D;
		
		private var _cameraPos:MVector2D;
		
		private var _data:Object;
		
		public function MCameraItem(data:Object)
		{
			this._data = data;
			this._position = new MVector2D();
		}

		public function get data():Object
		{
			return _data;
		}

		public function set data(value:Object):void
		{
			_data = value;
		}

		public function get cameraPos():MVector2D
		{
			return _cameraPos;
		}

		public function set cameraPos(value:MVector2D):void
		{
			_cameraPos = value;
		}

		public function get position():MVector2D
		{
			return _position;
		}

		public function set position(value:MVector2D):void
		{
			_position = value;
		}
	}
}